-- GENERATED SPELL FOR [Smoldar] --


function spell0_8278(pUnit, Event) --@Molten Metal,n/a--
pUnit:FullCastSpellOnTarget(5213,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8278', 17000, 1)
end

function Sorts_8278(pUnit, Event)
local choix_sorts_8278 = math.random(0, 0)
if choix_sorts_8278 == 0 then
pUnit:RegisterEvent('spell0_8278', 1, 1)
end
end

function mob8278_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8278', math.random(1500, 3000), 1)
end

function mob8278_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8278_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8278_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8278, 1, 'mob8278_Action')
RegisterUnitEvent(8278, 2, 'mob8278_Leave')
RegisterUnitEvent(8278, 3, 'mob8278_Kill')
RegisterUnitEvent(8278, 4, 'mob8278_Die')
